package com.sz.exce.dao;


import com.sz.exce.entity.Suspect;
import com.sz.exce.vo.PageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SuspectDao {
    int deleteByPrimaryKey(String suspectId);

    int insert(Suspect record);

    int insertSelective(Suspect record);

    Suspect selectByPrimaryKey(String suspectId);

    int updateByPrimaryKeySelective(Suspect record);

    int updateByPrimaryKey(Suspect record);

    Suspect selectByUserName(String name);

    List<Suspect> selectByPage(@Param("vo") PageVO pageVO);

    Integer selectCount();

    int updateByUserName(@Param("suspect") Suspect suspect);
}